-
Notifications
You must be signed in to change notification settings - Fork 681
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add test validating cluster name generation is unique in HTTPRoute with BackendTLSPolicy vs HTTPProxy #6195
Add test validating cluster name generation is unique in HTTPRoute with BackendTLSPolicy vs HTTPProxy #6195
Conversation
ebf88aa
to
28ca751
Compare
28ca751
to
4bacca8
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #6195 +/- ##
=======================================
Coverage 81.33% 81.33%
=======================================
Files 133 133
Lines 15772 15772
=======================================
Hits 12828 12828
Misses 2650 2650
Partials 294 294
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM just some small nits!
- add a test to ensure that two clusters with different tls settings due to one being created with HTTPRoute and BackendTLSPolicy vs HTTPProxy have different cluster names Signed-off-by: Christian Ang <christian.ang@broadcom.com>
- to differentiate resources with the same name Signed-off-by: Christian Ang <christian.ang@broadcom.com>
4bacca8
to
e506bcb
Compare
…th BackendTLSPolicy vs HTTPProxy (projectcontour#6195) add a test to ensure that two clusters with different tls settings due to one being created with HTTPRoute and BackendTLSPolicy vs HTTPProxy have different cluster names Also adds type to statusupdatercache - to differentiate resources with the same name Signed-off-by: Christian Ang <christian.ang@broadcom.com>
This PR validates that the cluster name generation creates unique names when the tls settings are different due to creating one cluster using HTTPRoute with BackendTLSPolicy and another with HTTPProxy.
This PR also makes a small refactor of adding the type to the
StatusUpdateCacher
to differentiate resources with the same name but different types.Fixes #6141